export type ItemType = 'input' | 'select' | 'inputNumber' | 'datePicker' | 'rangePicker' | 'rangeInputNumber' | 'radio';
// 定义一个类型，允许ItemType的部分类型是可选的
export type OptionalRecordType<K extends keyof any, T> = {
  [P in K]?: T;
};
export type TypeMapRecordType = OptionalRecordType<ItemType, React.FC<any>>;
export type PropsType = { type: ItemType; [key: string]: any };
